//
//  FontManager.h
//  KingSelected
//
//  Created by 杨鹏 on 2023/10/27.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN


#define kFontBold(f) [FontManager fontBoldWithSize:f]
#define kFontSemiBold(f) [FontManager fontSemiboldWithSize:f]
#define kFontRegula(f) [FontManager fontNormalWithSize:f]
#define kFontMediium(f) [FontManager fontMediumWithSize:f]
#define kFontCarter(f) [FontManager fontGeetypeWithSize:f]

@interface FontManager : NSObject


+ (UIFont *)fontWithName:(NSString *)name size:(CGFloat)size;
+ (UIFont *)fontBoldWithSize:(CGFloat)size;
+ (UIFont *)fontSemiboldWithSize:(CGFloat)size;
+ (UIFont *)fontNormalWithSize:(CGFloat)size;
+ (UIFont *)fontMediumWithSize:(CGFloat)size;
+ (UIFont *)fontGeetypeWithSize:(CGFloat)size;

@end

NS_ASSUME_NONNULL_END
